package cn.edu.sdjzu.knoverse.model.entity.kg;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@Data
@EqualsAndHashCode(callSuper = true)
@Node(primaryLabel = "Component", labels = {"BaseNode"})
public class ComponentNode extends BaseNode {

    /**
     * 组件内容,markdown文本
     */
    @Property("content")
    private String content;
} 